package NumberOne;

import java.util.ArrayList;

public class Manager extends Employee{


    private Clerk clerks;
    @Override
    public void showMsg() {
        System.out.println(this.getDept()+"的："+getName()+",员工编号："+this.getWorkId()+"他的员工是"+clerks.getName());

    }

    public Manager() {
    }

    public Manager(String name, String workId, String dept) {
        super(name, workId, dept);
    }


    public Clerk getClerks() {
        return clerks;
    }

    public void setClerks(Clerk clerks) {
        this.clerks = clerks;
    }
}
